var path = require('path')
var fs = require('fs')

var merge = require('webpack-merge')
var prodPath = require('./prod.path')

var appDirectory = fs.realpathSync(process.cwd())
var resolveApp = relativePath => path.resolve(appDirectory, relativePath)

module.exports = merge(prodPath, {
  assetsSubDirectory: 'static',
  assetsPublicPath: '/',
  appNodeModules: resolveApp('node_modules')
})
